home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Source Code
/
Visual Basic Source Code.iso
/
vbsource
/
vbtime1a
/
idbas_ti.bas
< prev
next >
Wrap
BASIC Source File
|
1999-08-30
|
550b
|
15 lines
Attribute VB_Name = "IDBAS_Timer"
Option Explicit
Declare Function SetTimer Lib "user32" (ByVal hWnd As Long, ByVal nIDEvent As Long, ByVal uElapse As Long, ByVal lpTimerFunc As Long) As Long
Declare Function KillTimer Lib "user32" (ByVal hWnd As Long, ByVal nIDEvent As Long) As Long
Public lngTimerID As Long
Public intervalSet As Long
Public timerEnabled As Boolean
Public timerObj As CTimer
Public Sub TimerProc(ByVal hWnd As Long, ByVal uMsg As Long, ByVal idEvent As Long, ByVal dwTime As Long)
timerObj.RaiseTimer
End Sub